home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dgesc2.z / dgesc2
Encoding:
Text File  |  2002-10-03  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGEEEESSSSCCCC2222((((3333SSSS))))                                                          DDDDGGGGEEEESSSSCCCC2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGESC2 - solve a system of linear equations  A * X = scale* RHS  with a
  10.      general N-by-N matrix A using the LU factorization with complete pivoting
  11.      computed by DGETC2
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE )
  15.  
  16.          INTEGER        LDA, N
  17.  
  18.          DOUBLE         PRECISION SCALE
  19.  
  20.          INTEGER        IPIV( * ), JPIV( * )
  21.  
  22.          DOUBLE         PRECISION A( LDA, * ), RHS( * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      DGESC2 solves a system of linear equations A * X = scale* RHS with a
  39.      general N-by-N matrix A using the LU factorization with complete pivoting
  40.      computed by DGETC2.
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      N       (input) INTEGER
  44.              The order of the matrix A.
  45.  
  46.      A       (input) DOUBLE PRECISION array, dimension (LDA,N)
  47.              On entry, the  LU part of the factorization of the n-by-n matrix
  48.              A computed by DGETC2:  A = P * L * U * Q
  49.  
  50.      LDA     (input) INTEGER
  51.              The leading dimension of the array A.  LDA >= max(1, N).
  52.  
  53.      RHS     (input/output) DOUBLE PRECISION array, dimension (N).
  54.              On entry, the right hand side vector b.  On exit, the solution
  55.              vector X.
  56.  
  57.      IPIV    (input) INTEGER array, dimension (N).
  58.              The pivot indices; for 1 <= i <= N, row i of the matrix has been
  59.              interchanged with row IPIV(i).
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGEEEESSSSCCCC2222((((3333SSSS))))                                                          DDDDGGGGEEEESSSSCCCC2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      JPIV    (input) INTEGER array, dimension (N).
  75.              The pivot indices; for 1 <= j <= N, column j of the matrix has
  76.              been interchanged with column JPIV(j).
  77.  
  78.      SCALE    (output) DOUBLE PRECISION
  79.               On exit, SCALE contains the scale factor. SCALE is chosen 0 <=
  80.               SCALE <= 1 to prevent owerflow in the solution.
  81.  
  82. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  83.      Based on contributions by
  84.         Bo Kagstrom and Peter Poromaa, Department of Computing Science,
  85.         Umea University, S-901 87 Umea, Sweden.
  86.  
  87.  
  88. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  89.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  90.  
  91.      This man page is available only online.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.